{include file="./headStart.tpl"}
{include file="./headEnd.tpl"}
<form name="form" action="{$smarty.server.PHP_SELF}" id="form" method="post">
<input type="hidden" name="branchId" value="{$branchId}" />  
<table align="center" border="1" cellpadding="2" cellspacing="1" >
<tr>
  <td align="center" class="table1" colspan="2">Branch Entry</td>
</tr>
<tr>
  <td align="left" class="table2">Branch Name:</td>
  <td class="table2"><input type="text" name="branchName" id="branchName" value="{$branchName}" required title=" please enter Branch Name"></td>
<tr>
</tr>
  <td class="table2" align="center" colspan="2"><input class="button" type="submit" name="insertBtn" value="Submit" class="insertBtn" /></td>
</tr>
</table>
</form> 

<form action="{$smarty.server.PHP_SELF}" name='technician' method='POST'>
<table border='0' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td class="table1" align="center" colspan="4"><font style="font-size: 16px"><b>! Technician Available !</b></font></td>
</tr>
<tr>
  <td  class="table1" align='center' ><B>&nbsp;</td>
  <td  class="table1" align='center' ><B>&nbsp;</td>
	<td  class="table1" align='center' ><B>S.R.No</td>
	<td  class="table1" align='center' ><B>Branch Name</td>
</tr>
{section name="sec1" loop=$branchIdDetailArray}
<tr>
  <td class="table3" align="center">
  {if $s_userType == 'superAdmin'}
    <a href="branch.php?deleteId={$branchIdDetailArray[sec1].branchId}" class="link">
      <img src="./images/deleteIcon.png" border="0" width="15" height="15" title="Delete">
    </a>
  {else}
    &nbsp;
  {/if}
  </td>
  <td class="table3" align="center">
    <a href="branch.php?branchId={$branchIdDetailArray[sec1].branchId}" class="link"><img src="./images/b_edit.png" border="0" width="15" height="15"></a>
  </td>
  <td class="table3" align="left">{$smarty.section.sec1.rownum}</td>
  <td class="table3" align="left"> {$branchIdDetailArray[sec1].branchName}</td>
</tr>
{/section}
</table>
</form>
{include file="footer.tpl"}